package com.weibo4j.api.req.relation;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.annotation.Param;
import com.weibo4j.api.response.relation.FriendsGetResponse;
import com.weibo4j.api.util.RequestType;

public class FriendsInCommonRequest extends WeiboRequest<FriendsGetResponse>{

    private Integer count;

    private Integer page;

    private Long    uid;
    
    private Long suid;

    private Integer trimStatus;

    public Long getSuid() {
        return suid;
    }

    public void setSuid(Long suid) {
        this.suid = suid;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage (Integer page) {
        this.page = page;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Param("trim_status")
    public Integer getTrimStatus() {
        return trimStatus;
    }

    public void setTrimStatus(Integer trimStatus) {
        this.trimStatus = trimStatus;
    }
    
    @Override
    public RequestType requestType() {
        return RequestType.GET;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/friendships/friends/in_common.json";
    }

    @Override
    protected Class<FriendsGetResponse> responseType() {
        return FriendsGetResponse.class;
    }

}
